# Copyright (c) 2019 Presto Labs Pte. Ltd.
# Author: leon

from coin.exchange.uniswap_base.rest.subscriber import UniswapSubscriber
from coin.strategy.mm.feed_builder import UniswapV2FlowBookBuilder
from coin.strategy.mm.base.feed import BaseFeedSubsystem
from coin.strategy.mm.subscription import SubscriptionRequest


class UniswapV2FeedSubsystem(BaseFeedSubsystem):
  FeedSubReq = SubscriptionRequest('Spot', 'Uniswap', 'v2')
  FeedSubscriber = UniswapSubscriber
  FlowBookBuilder = UniswapV2FlowBookBuilder
